package routers

import (
	"github.com/gin-gonic/gin"
	v1 "teacher-helper/api/v1"
	"teacher-helper/middleware"
)

func InitRewardRouter(Router *gin.RouterGroup)  {
	RewardRouter := Router.Group("rewards").Use(middleware.JWTAuth())
	{
		RewardRouter.GET("/getRewardList", v1.GetRewardList)
		RewardRouter.POST("/addReward", v1.AddOneReward)
		RewardRouter.PUT("/updateReward", v1.UpdateReward)
		RewardRouter.DELETE("/deleteReward", v1.DeleteReward)
	}
}


